package com.example.utils;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *@Author: feifan
 *@Date: 2022/7/25 10:56
 */
@Data
@AllArgsConstructor //生成有参构造
@NoArgsConstructor  //生成无参构造
public class WdException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private Integer code;
    @ApiModelProperty(value = "异常信息")
    private String msg;
}
